projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69cf305
)
passthrough: Fix test_and_clear_bit() caller to clear bitmap, not bitmap pointer
author
Keir Fraser
<keir.fraser@citrix.com>
Sat, 30 May 2009 09:24:21 +0000
(10:24 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Sat, 30 May 2009 09:24:21 +0000
(10:24 +0100)
Latent bug triggered by '19650: eliminate hard-coded NR_IRQS'
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
xen/drivers/passthrough/io.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/io.c
b/xen/drivers/passthrough/io.c
index ed3bed57ec7bd06b937d6962f8999471c85e04a9..61060db8e38b7da355ea3e6419cade27b603c7bd 100644
(file)
--- a/
xen/drivers/passthrough/io.c
+++ b/
xen/drivers/passthrough/io.c
@@
-444,7
+444,7
@@
void hvm_dirq_assist(struct vcpu *v)
irq < d->nr_pirqs;
irq = find_next_bit(hvm_irq_dpci->dirq_mask, d->nr_pirqs, irq + 1) )
{
- if ( !test_and_clear_bit(irq,
&
hvm_irq_dpci->dirq_mask) )
+ if ( !test_and_clear_bit(irq, hvm_irq_dpci->dirq_mask) )
continue;
spin_lock(&d->event_lock);